/* Ribbon */

/* Reset */
.ribbon_popup, .ribbon_popup div, .ribbon_popup span, .ribbon_popup a {vertical-align:baseline; text-align:left; position:absolute; border:0; padding:0; margin:0; background:transparent; font: 12px "Lucida Sans Unicode", Verdana, sans-serif; color:#000; text-decoration:none; font-weight:normal; width:auto; height:auto; overflow:hidden; display:block}

/* General */
.ribbon_popup {position:absolute; direction:ltr}
.ribbon_popup .mceWrapper {position:static}
.mceEventBlocker {position:fixed; left:0; top:0; width:100%; height:100%}
.ribbon_popup .mcePlaceHolder {
    -webkit-border-top-left-radius: 7px;
    -webkit-border-top-right-radius: 7px;
    -moz-border-radius-topleft: 7px;
    -moz-border-radius-topright: 7px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border:1px solid #585858; 
    background:#E0E0E0 url(img/placeholder_bg.gif) repeat-x top left; top:0; left:0; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50)}
.ribbon_popup_modalBlocker {position:fixed; left:0; top:0; width:100%; height:100%; background:#333; opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60); display:none}

/* Top */
.ribbon_popup .mceTop, .ribbon_popup .mceTop div {top:0; width:100%; height:33px}
.ribbon_popup .mceTop .mceLeft {width:6px; background:url(img/corners.gif)}
.ribbon_popup .mceTop .mceCenter {right:6px; width:100%; height:33px; background:url(img/horizontal.gif) 12px 0; clip:rect(auto auto auto 12px)}

.ribbon_popup .mceTop .mceRight {
    right:0; 
    width:6px; 
    height:33px; 
    background:url(img/corners.gif) -18px 0;
}

.ribbon_popup .mceFocus .mceTop .mceRight {
    background:url(img/corners.gif) -18px 0; 
}     

.ribbon_popup .mceTop span {width:100%; text-align:left; vertical-align:middle; line-height:33px; font-weight:boldl;text-indent: 20px;}
.ribbon_popup .mceFocus .mceTop .mceLeft {background:url(img/corners.gif) -6px 0}
.ribbon_popup .mceFocus .mceTop .mceCenter {background:url(img/horizontal.gif) 0 -23px}

.ribbon_popup .mceFocus .mceTop span {color:#000}

/* Middle */
.ribbon_popup .mceMiddle, .ribbon_popup .mceMiddle div {top:0}
.ribbon_popup .mceMiddle {width:100%; height:100%; clip:rect(23px auto auto auto)}
.ribbon_popup .mceMiddle .mceLeft {top:33px;left:0; width:5px; height:100%; background:url(img/vertical.gif) -5px 0}
.ribbon_popup .mceMiddle span {top:33px; left:5px; width:100%; height:100%; background:#FFF}
.ribbon_popup .mceMiddle .mceRight {top:33px;right:0; width:5px; height:100%; background:url(img/vertical.gif)}

/* Bottom */
.ribbon_popup .mceBottom{border-bottom: 1px solid #666666;}
.ribbon_popup .mceBottom, .ribbon_popup .mceBottom div {height:1px}
.ribbon_popup .mceBottom {left:0; bottom:0; width:100%}
.ribbon_popup .mceBottom div {top:0}
.ribbon_popup .mceBottom .mceLeft {left:0; width:5px; }
.ribbon_popup .mceBottom .mceCenter {left:5px; width:100%;}
.ribbon_popup .mceBottom .mceRight {right:0; width:5px;}
.ribbon_popup .mceBottom span {display:none}
.ribbon_popup .mceStatusbar .mceBottom, .ribbon_popup .mceStatusbar .mceBottom div {height:23px}
.ribbon_popup .mceStatusbar .mceBottom .mceLeft {background:url(img/corners.gif) -29px 0}
.ribbon_popup .mceStatusbar .mceBottom .mceCenter {background:url(img/horizontal.gif) 0 -52px}
.ribbon_popup .mceStatusbar .mceBottom .mceRight {background:url(img/corners.gif) -24px 0}
.ribbon_popup .mceStatusbar .mceBottom span {display:block; left:7px; font: 12px "Lucida Sans Unicode", Verdana, sans-serif; line-height:23px}

/* Actions */
.ribbon_popup a {width:48px; height:20px; top:0px;}
.ribbon_popup .mceClose {right:7px; background:url(img/buttons.gif) -144px 0;cursor:default;}
.ribbon_popup .mceMin {display:none; right:68px; background:url(img/buttons.gif) 0 0}
.ribbon_popup .mceMed {display:none; right:37px; background:url(img/buttons.gif) -29px 0}
.ribbon_popup .mceMax {display:none; right:37px; background:url(img/buttons.gif) -58px 0}
.ribbon_popup .mceMove {display:none;width:100%;cursor:move;background:url(img/corners.gif) no-repeat -100px -100px;height:33px}
.ribbon_popup .mceMovable .mceMove {display:block}
.ribbon_popup .mceFocus .mceClose {right:6px; background:url(img/buttons.gif) -144px -20px}
.ribbon_popup .mceFocus .mceMin {right:68px; background:url(img/buttons.gif) 0 -16px}
.ribbon_popup .mceFocus .mceMed {right:37px; background:url(img/buttons.gif) -29px -16px}
.ribbon_popup .mceFocus .mceMax {right:37px; background:url(img/buttons.gif) -58px -16px}
.ribbon_popup .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -144px -40px}
.ribbon_popup .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -144px -40px}
.ribbon_popup .mceFocus .mceMin:hover {right:68px; background:url(img/buttons.gif) 0 -32px}
.ribbon_popup .mceFocus .mceMed:hover {right:37px; background:url(img/buttons.gif) -29px -40px}
.ribbon_popup .mceFocus .mceMax:hover {right:37px; background:url(img/buttons.gif) -58px -40px}

/* Resize */
.ribbon_popup .mceResize {top:auto; left:auto; display:none; width:5px; height:5px; background:transparent}
.ribbon_popup .mceResizable .mceResize {display:block}
.ribbon_popup .mceResizable .mceMin, .ribbon_popup .mceMax {display:none}
.ribbon_popup .mceMinimizable .mceMin {display:block}
.ribbon_popup .mceMaximizable .mceMax {display:block}
.ribbon_popup .mceMaximized .mceMed {display:block}
.ribbon_popup .mceMaximized .mceMax {display:none}
.ribbon_popup a.mceResizeN {top:0; left:0; width:100%; cursor:n-resize}
.ribbon_popup a.mceResizeNW {top:0; left:0; cursor:nw-resize}
.ribbon_popup a.mceResizeNE {top:0; right:0; cursor:ne-resize}
.ribbon_popup a.mceResizeW {top:0; left:0; height:100%; cursor:w-resize;}
.ribbon_popup a.mceResizeE {top:0; right:0; height:100%; cursor:e-resize}
.ribbon_popup a.mceResizeS {bottom:0; left:0; width:100%; cursor:s-resize}
.ribbon_popup a.mceResizeSW {bottom:0; left:0; cursor:sw-resize}
.ribbon_popup a.mceResizeSE {bottom:0; right:0; cursor:se-resize}

/* Alert/Confirm */
.ribbon_popup .mceButton {font-weight:bold; bottom:10px; width:80px; height:30px; background:url(img/button.gif); line-height:30px; vertical-align:middle; text-align:center; outline:0}
.ribbon_popup .mceMiddle .mceIcon {left:15px; top:35px; width:32px; height:32px}
.ribbon_popup .mceAlert .mceMiddle span, .ribbon_popup .mceConfirm .mceMiddle span {background:transparent;left:60px; top:35px; width:320px; height:50px; font-weight:normal; overflow:auto; white-space:normal}
.ribbon_popup a:hover {font-weight:bold;}
.ribbon_popup .mceAlert .mceMiddle, .ribbon_popup .mceConfirm .mceMiddle {background:#fff}
.ribbon_popup .mceAlert .mceOk {left:50%; top:auto; margin-left: -40px}
.ribbon_popup .mceAlert .mceIcon {background:url(img/alert.gif)}
.ribbon_popup .mceConfirm .mceOk {left:50%; top:auto; margin-left: -90px}
.ribbon_popup .mceConfirm .mceCancel {left:50%; top:auto}
.ribbon_popup .mceConfirm .mceIcon {background:url(img/confirm.gif)}

/* IE9 fixes */
.ribbon_popup.ie9 .mceTop .mceCenter {clip:auto;}
.ribbon_popup.ie9 .mceMiddle {clip:auto;}
.ribbon_popup.ie9 .mceMiddle .mceLeft, .ribbon_popup.ie9 .mceMiddle .mceRight {top: 23px;}
.ribbon_popup.ie9 .mceAlert .mceMiddle span, .ribbon_popup.ie9 .mceConfirm .mceMiddle span {top:13px;}
.ribbon_popup.ie9 .mceModal .mceMiddle {top:23px}
.ribbon_popup.ie9 .mceModal .mceMiddle .mceLeft, .ribbon_popup.ie9 .mceModal .mceMiddle .mceRight {top: 0}
.ribbon_popup.ie9 .mceMiddle .mceIcon {top:13px}
.ribbon_popup.ie9 .mceTop .mceCenter {top:0; right:auto; left:6px; width:calc(100%-12px)}
